//
//  CouponTableViewCell.h
//  TerritoryShopkeeper
//
//  Created by 李小龙 on 2017/12/4.
//  Copyright © 2017年 ZDQK. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CouponModel.h"

typedef void(^CouponAction)(void);

@interface CouponTableViewCell : UITableViewCell
@property (weak, nonatomic) IBOutlet UIView *GradientView;
@property (weak, nonatomic) IBOutlet UILabel *priceLabel;
@property (weak, nonatomic) IBOutlet UILabel *describePriceLabel;
@property (weak, nonatomic) IBOutlet UILabel *describeCountLabel;
@property (weak, nonatomic) IBOutlet UILabel *statusLabel;
@property (weak, nonatomic) IBOutlet UIButton *exchangeButton;

@property (nonatomic, copy) CouponAction block;

+ (instancetype)couponTableCellWith:(UITableView *)tableView type:(NSInteger)type;
- (void)updateCellWith:(CouponModel *)model type:(NSInteger)type;

@end
